﻿USE [master]
GO
/****** Object:  Database [ProfilingAppDatabase]    Script Date: 04/18/2012 20:31:10 ******/
CREATE DATABASE [ProfilingAppDatabase] ON  PRIMARY 
( NAME = N'ProfilingAppDatabase', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\ProfilingAppDatabase.mdf' , SIZE = 3072KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
 LOG ON 
( NAME = N'ProfilingAppDatabase_log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\ProfilingAppDatabase_log.ldf' , SIZE = 1024KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)
GO
ALTER DATABASE [ProfilingAppDatabase] SET COMPATIBILITY_LEVEL = 100
GO
IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
begin
EXEC [ProfilingAppDatabase].[dbo].[sp_fulltext_database] @action = 'enable'
end
GO
ALTER DATABASE [ProfilingAppDatabase] SET ANSI_NULL_DEFAULT OFF
GO
ALTER DATABASE [ProfilingAppDatabase] SET ANSI_NULLS OFF
GO
ALTER DATABASE [ProfilingAppDatabase] SET ANSI_PADDING OFF
GO
ALTER DATABASE [ProfilingAppDatabase] SET ANSI_WARNINGS OFF
GO
ALTER DATABASE [ProfilingAppDatabase] SET ARITHABORT OFF
GO
ALTER DATABASE [ProfilingAppDatabase] SET AUTO_CLOSE OFF
GO
ALTER DATABASE [ProfilingAppDatabase] SET AUTO_CREATE_STATISTICS ON
GO
ALTER DATABASE [ProfilingAppDatabase] SET AUTO_SHRINK OFF
GO
ALTER DATABASE [ProfilingAppDatabase] SET AUTO_UPDATE_STATISTICS ON
GO
ALTER DATABASE [ProfilingAppDatabase] SET CURSOR_CLOSE_ON_COMMIT OFF
GO
ALTER DATABASE [ProfilingAppDatabase] SET CURSOR_DEFAULT  GLOBAL
GO
ALTER DATABASE [ProfilingAppDatabase] SET CONCAT_NULL_YIELDS_NULL OFF
GO
ALTER DATABASE [ProfilingAppDatabase] SET NUMERIC_ROUNDABORT OFF
GO
ALTER DATABASE [ProfilingAppDatabase] SET QUOTED_IDENTIFIER OFF
GO
ALTER DATABASE [ProfilingAppDatabase] SET RECURSIVE_TRIGGERS OFF
GO
ALTER DATABASE [ProfilingAppDatabase] SET  DISABLE_BROKER
GO
ALTER DATABASE [ProfilingAppDatabase] SET AUTO_UPDATE_STATISTICS_ASYNC OFF
GO
ALTER DATABASE [ProfilingAppDatabase] SET DATE_CORRELATION_OPTIMIZATION OFF
GO
ALTER DATABASE [ProfilingAppDatabase] SET TRUSTWORTHY OFF
GO
ALTER DATABASE [ProfilingAppDatabase] SET ALLOW_SNAPSHOT_ISOLATION OFF
GO
ALTER DATABASE [ProfilingAppDatabase] SET PARAMETERIZATION SIMPLE
GO
ALTER DATABASE [ProfilingAppDatabase] SET READ_COMMITTED_SNAPSHOT OFF
GO
ALTER DATABASE [ProfilingAppDatabase] SET HONOR_BROKER_PRIORITY OFF
GO
ALTER DATABASE [ProfilingAppDatabase] SET  READ_WRITE
GO
ALTER DATABASE [ProfilingAppDatabase] SET RECOVERY FULL
GO
ALTER DATABASE [ProfilingAppDatabase] SET  MULTI_USER
GO
ALTER DATABASE [ProfilingAppDatabase] SET PAGE_VERIFY CHECKSUM
GO
ALTER DATABASE [ProfilingAppDatabase] SET DB_CHAINING OFF
GO
EXEC sys.sp_db_vardecimal_storage_format N'ProfilingAppDatabase', N'ON'
GO
USE [ProfilingAppDatabase]
GO
/****** Object:  Table [dbo].[CUSTOMER]    Script Date: 04/18/2012 20:31:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[CUSTOMER](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[TITLE] [varchar](100) NOT NULL,
	[NAME] [varchar](100) NOT NULL,
	[SURNAME] [varchar](100) NOT NULL,
	[EMAIL] [varchar](100) NOT NULL,
PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO